package com.beten.ui.main;

import android.widget.ListView;

import com.beten.demo.MainActivity;
import com.beten.demo.R;
import com.beten.ui.main.blogger.BloggerTabBar;

public class BloggerView extends BaseView{

	ListView blogger_list;
	NewsListAdapter adapter;
	BloggerTabBar tabbar;
	public BloggerView(MainActivity activity) {
		super(activity);
		tabbar=new BloggerTabBar(activity);
	}

	@Override
	protected void OnViewInit() {
		adapter=new NewsListAdapter(mContext);
		
		blogger_list=(ListView)mContext.findViewById(R.id.blogger_list);
		
		
		for(int i=1;i<30;i++)
		{
			NewsItemInfo newInfo=new NewsItemInfo();
			adapter.mData.add(newInfo);
		}
		blogger_list.setAdapter(adapter);
	}

}
